/*****************************************************************
*
*	Netcare Agent Project
*		Copyright(C) 2010, Wicresoft EKA. All Rights Reserved.
*
*	Authors:
*		Miles Chen (milesch@wicresoft.com)
*		TingRong Shi (trshi@wicresoft.com)
*
*	Part of the product code depends on gSOAP under GPL license
*		Copyright(C) 2000-2010, Robert van Engelen, Genivia Inc. All Rights Reserved.
*
*****************************************************************/
#pragma once
#include <ctime>
#include <iostream>

#include "ns.h"

ALCATEL_SMS;

USING_STD;

class CDateTime
{
public:
	~CDateTime(void);

	static CDateTime* Now();


	string ToDateString() const;
	string ToString() const;
	wstring ToDateStringW() const;
	wstring ToStringW() const;


private:
	explicit CDateTime(const time_t&);

	time_t _data;
};

ENDNS ENDNS